const Router = require("koa-router")
const router = new Router();
const MembersModel = require("../../models/members")
router.get("/m1/edit",async ctx=>{
    var {id} = ctx.query;
    var data = await MembersModel.findOne({_id:id});
    await ctx.render("edit",{data:data})
})
module.exports = router;